/*
 * ml20gui - The MSN Webcam Recorder
 * This source code is under the GNU Public License (GPL).
 * Written by Ramiro Polla
 * Initial release: june 3rd, 2005
 *
 * this program records MSN Webcam Video
 */

#include "ml20gui.h"

avifile_t *new_avifile( void )
{
    AVISTREAMINFOA si = { streamtypeVIDEO, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 10000, 0, {0,0,0,0}, 0, 0, "VIDEO" };
    avifile_t *ret = calloc( 1, sizeof( avifile_t ) );
    // do something?

    memcpy( &ret->si, &si, sizeof(AVISTREAMINFOA) );
    return ret;
}

void kill_avifile( avifile_t *avifile )
{
    free( avifile );
}
